//打印偶数
public class EvenNums {
    public static void main(String[] args) {

        int count = 0;
        for (int i = 1; i <= 100; i++) {
            if (i % 2 == 0) {
                count++;
                System.out.print(i+",");
            }
            if (count%5==0){
                System.out.println();
            }
        }
    }
}
